package base.day18.integer;

public class Integer1 {
    public static void main(String[] args) {
//        Integer i1=new Integer(123);
//        Integer i2=new Integer("123");

        Integer i1=Integer.valueOf(123);
        Integer i2=Integer.valueOf("123");
        System.out.println(i1);
        System.out.println(i2);

        Integer i3=200;
        int i4=i3;
        System.out.println(i4);

        String s1="123";
        int i5=123;
        System.out.println(s1+i5);
        Integer i6= Integer.parseInt(s1);
        System.out.println(i6+1);

        String s2=String.valueOf(i5);
        System.out.println(s2+100);
    }
}
